package com.sure.minion.services.base.vo;

import java.util.List;

/**
 * @Description 分页查询结果
 * @author syuan
 * @date 2015年8月28日  下午12:09:49
 * @param <T>
 */
public class PagedResult<T> {

	/** 数据*/
	private List<T> resultList;

	/** 总页数*/
	private int totalPage;

	/** 当前页*/
	private int currentPage;

	/** 总记录数*/
	private int totalNum;

	/** 每页显示的记录数*/
	private int numPerPage;

	public List<T> getResultList() {
		return resultList;
	}

	public void setResultList(List<T> resultList) {
		this.resultList = resultList;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public int getNumPerPage() {
		return numPerPage;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public void setNumPerPage(int numPerPage) {
		this.numPerPage = numPerPage;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

}
